import pinia from '@/stores/index.js'
// 引入全部的element-plus图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { createApp } from 'vue'
import VxeUI from 'vxe-pc-ui'
// ...
// 引入表格组件
import VxeTable from 'vxe-table'
import App from './App.vue'
import router from './router'
// 引入字体图标
import '@/assets/fonts/iconfont.css'
// 导入全局css样式
import '@/assets/css/global.css'
import 'vxe-table/lib/style.css'
import 'vxe-pc-ui/lib/style.css'

const app = createApp(App)
// 引入全部的element-plus图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(router)
app.use(pinia)
app.use(VxeUI)
app.use(VxeTable)
// ...

app.mount('#app')
